package com.night.icm.model.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;


/**
 * SystemDictionaryBaseDTO
 *
 * @author Liao ZhiYong
 * @date 2019/12/30
 */
@ApiModel(description = "字典基础信息")
@Data
@EqualsAndHashCode(callSuper = false)
class SystemDictionaryBaseDTO implements Serializable {

    @ApiModelProperty(position = 110, value = "字典id，自增")
    private String id;

    @ApiModelProperty(position = 120, value = "字典编号", required = true)
    private String code;

    @ApiModelProperty(position = 130, value = "字典名称", required = true)
    private String name;

    @ApiModelProperty(position = 140, value = "是否系统初始化的数据，如果为是，通常不允许修改和删除")
    private Boolean systemInitialized;

}